home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Answers 1998 January
/
PC Answers Issue 49 Cover CD January 1998.iso
/
Apps
/
IE40
/
ICWNT.CAB
/
icwnt.inf
< prev
next >
Wrap
Windows Setup INFormation
|
1997-08-20
|
12KB
|
321 lines
;==============================================================================================
; Internet Connection Wizard install script WinNT
;==============================================================================================
[version]
signature="$CHICAGO$"
AdvancedINF=2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
[DefaultInstall.NT]
RequiredEngine=Setupapi,"%ERROR_ENGINE_NOTFOUND%"
SmartReboot= N
CustomDestination= CustInstDestSection
DelFiles=DeleteICW
DelDirs=DeleteICWDir
CopyFiles=CopySYS,CopyOTHER,CopyHELP,CopyNTOnly
UpdateInis=UPD.Links
AddReg=MSICW.RegEntries
DelReg=MSICW.BadRegEntries
RegisterOCXs=RegisterICWSection
PerUserInstall=MSICW.Stub.Add
ComponentName=ICW
PreRollback=Uninstall.NT
RunPostSetupCommands=MSICWPostSetupCommands:1
[MSICWPostSetupCommands]
rundll32 advpack.dll,LaunchINFSection %49400%\icwnt.inf,MSInfInstall,3,n
[MSInfInstall]
CopyFiles=CopyINF
[MSICW.Stub.Add]
ComponentID=ICW_NTx86
StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\icwnt.inf,PerUserStub
GUID={5A8D6EE0-3E18-11D0-821E-444553540000}
IsInstalled=1
Locale=%LOCALE_ICW%
[PerUserStub]
CustomDestination= CustInstDestSection
UpdateInis=UPD.Links
[Uninstall.NT]
PerUserInstall=MSICW.Stub.Remove
[MSICW.Stub.Remove]
ComponentID=ICW_NTx86
StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\icwnt.inf,PerUserRemove
GUID={5A8D6EE0-3E18-11D0-821E-444553540000}
IsInstalled=0
Locale=%LOCALE_ICW%
[PerUserRemove]
;CustomDestination= CustInstDestSection
UpdateInis=UPD.Links.Remove
;==============================================================================================
; These are the directory specifications.
;==============================================================================================
[CustInstDestSection]
49000,49001,49002,49003= ProgramFilesDir,5
49100,49101,49102,49103= MSIEFilesDir,7
49200,49201,49202,49203= MSICWFilesDir,5
49300,49301,49302,49303= OldICWDir,5
49400,49401,49402,49403= SourceDir
[ProgramFilesDir]
HKLM,"%KEY_PROGRAM_FILES%",'ProgramFilesDir',,"%24%"
[MSIEFilesDir]
HKLM,"%KEY_IEDIR%","Path","%IE_REQUIRED%",'%49001%\%IEDIR%'
[MSICWFilesDir]
HKLM,"%KEY_ICW%",,,'%49101%\%MSICWDIR%'
[OldICWDir]
HKLM,"%KEY_ICW%",,,"%49001%\%OLD_ICWDIR%"
[DestinationDirs]
CopyHELP = 18 ; LDID_HELP
CopySYS = 11 ; LDID_SYS
CopyINF = 17 ; LDID_INF
CopyNTOnly = 11 ; LDID_SYS
CopyOTHER = 49200
DeleteICW = 49300
;==============================================================================================
; This is the RegisterOCXs section
;==============================================================================================
[RegisterICWSection]
%11%\inetcfg.dll
;==============================================================================================
; These are the File Copy sections.
;==============================================================================================
; ---------------------------------------------------------------------------------------------
; These are the files copied as part of the default install.They are put in C:\Windows\System
; ---------------------------------------------------------------------------------------------
[CopyNTOnly]
icfgNT.dll,,,32
[CopySYS]
inetcfg.dll,,,32
isign32.dll,,,32
icwdial.dll,,,32
icwphbk.dll,,,32
; ---------------------------------------------------------------------------------------------
; These are the files copied as part of the default install. They are put in:
; <User Install Directory>\Internet Explorer\Connection Wizard
; ---------------------------------------------------------------------------------------------
[CopyOTHER]
icwconn1.exe,,,32
icwconn2.exe,,,32
inetwiz.exe,,,32
isignup.exe,,,32
icwdl.dll,,,32
icwx25a.dun
icwx25b.dun
icwx25c.dun
icwip.dun
phone.icw
state.icw
msicw.isp
msn.isp
readme.txt
support.icw
; ---------------------------------------------------------------------------------------------
; These are the files copied as part of the default install. They are put in C:\Windows\INF
; ---------------------------------------------------------------------------------------------
[CopyINF]
icwNT.INF
; ---------------------------------------------------------------------------------------------
; These are the files copied as part of the default install. They are put in C:\Windows\Help
; ---------------------------------------------------------------------------------------------
[CopyHELP]
connect.hlp
connect.cnt
;==============================================================================================
; These are the File Delete sections.
;==============================================================================================
; ---------------------------------------------------------------------------------------------
; These are the files deleted as part of the default install. This removes previous versions
; of the Internet Connection Wizard.
; ---------------------------------------------------------------------------------------------
[DeleteICWDir]
%49300%
[DeleteICW]
icwconn1.exe
icwconn2.exe
inetwiz.exe
isignup.exe
icwdl.dll
icwx25a.dun
icwx25b.dun
icwx25c.dun
icwip.dun
phone.icw
state.icw
msicw.isp
msn.isp
support.icw
;==============================================================================================
; These are the Source sections which tell the setup engine where the appropriate files are.
;==============================================================================================
[SourceDisksNames]
55="%ICWNAME%",icwNT.cab,0
[SourceDisksFiles]
icfgNT.dll=55
inetcfg.dll=55
isign32.dll=55
icwdial.dll=55
icwphbk.dll=55
icwconn1.exe=55
icwconn2.exe=55
inetwiz.exe=55
isignup.exe=55
icwdl.dll=55
icwx25a.dun=55
icwx25b.dun=55
icwx25c.dun=55
icwip.dun=55
phone.icw=55
state.icw=55
msicw.isp=55
msn.isp=55
icwNT.INF=55
connect.hlp=55
connect.cnt=55
readme.txt=55
support.icw=55
;==============================================================================================
; This creates the Start Menu links.
;==============================================================================================
[UPD.Links]
setup.ini, progman.groups,,""ICW11=""%PGMGRP%""
; ICW item
setup.ini, ICW11,,"""%PGMITEM_ICW%"",""""""%49200%\ICWCONN1.EXE"""""""
; Delete obsolete start menu items
setup.ini, progman.groups,,""ICW10=""%PGMDEL%""
; INETWIZ menu item
setup.ini, ICW10,,""%ITEMDEL_INETWIZ%"",,,
; old ICW menu item
setup.ini, ICW10,,""%ITEMDEL_GETON%"",,,
[UPD.Links.Remove]
setup.ini, progman.groups,,"ICW11=""%PGMGRP%"""
; ICW item
setup.ini, ICW11,,"""%PGMITEM_ICW%"""
;==============================================================================================
; These are the Registry ADD sections.
;==============================================================================================
[MSICW.RegEntries]
; ---------------------------------------------------------------------------------------------
; File associations
HKCR,.ins,,0,x-internet-signup
HKCR,.ins,"Content Type",0,application/x-internet-signup
HKCR,.isp,,0,x-internet-signup
HKCR,.isp,"Content Type",0,application/x-internet-signup
; ---------------------------------------------------------------------------------------------
; MIME execution options
HKCR,x-internet-signup,,0,%INTERNET_COMMUNICATION_SETTINGS%
HKCR,x-internet-signup,EditFlags,1,00,00,00,00
HKCR,x-internet-signup\Shell,,0,""
HKCR,x-internet-signup\Shell\Open,EditFlags,1,01,00,00,00
HKCR,x-internet-signup\Shell\Open\command,,0,""""%49201%\ISIGNUP.EXE""" %%1"
HKCR,x-internet-signup\DefaultIcon,,0,"%49201%\ICWCONN1.EXE,0"
; ---------------------------------------------------------------------------------------------
; MIME database extensions
HKCR,"MIME\Database\Content Type\application/x-internet-signup",Extension,0,.ins
; ---------------------------------------------------------------------------------------------
; Software Version
HKLM,"%KEY_ICW%",Version,,"%Version%"
HKLM,"%KEY_ICW%",InstallationDirectory,,"%49201%"
; ---------------------------------------------------------------------------------------------
; App Paths
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN1.EXE",,,"%49201%\ICWCONN1.EXE"
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN1.EXE","Path",,"%49201%;"
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN2.EXE",,,"%49201%\ICWCONN2.EXE"
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN2.EXE","Path",,"%49201%;"
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ISIGNUP.EXE",,,"%49201%\ISIGNUP.EXE"
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ISIGNUP.EXE","Path",,"%49201%;"
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\INETWIZ.EXE",,,"%49201%\INETWIZ.EXE"
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\INETWIZ.EXE","Path",,"%49201%;"
; ---------------------------------------------------------------------------------------------
; Release Product Information
HKLM,"Software\Microsoft\Internet Connection Wizard","Release Product",,"IE"
HKLM,"Software\Microsoft\Internet Connection Wizard","Release Product Version",,"4.0"
; ---------------------------------------------------------------------------------------------
; Uninstall command and minimum IE version
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\ICW","QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSectionEx %17%\icwNT.inf,,,256"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\ICW","RequiresIESysFile",,"4.71"
; ---------------------------------------------------------------------------------------------
; Default product code
HKLM,"Software\Microsoft\Internet Connection Wizard","Default Product Code",,"IE4"
; ---------------------------------------------------------------------------------------------
; Delete these reg keys, no one uses them.
[MSICW.BadRegEntries]
HKCR,.isp,EditFlags
HKCR,.ins,EditFlags
[Strings]
;==============================================================================================
; Important - Be sure to place any localizable strings
; below the "Localization Border" Comment
;==============================================================================================
KEY_ICW = "SOFTWARE\Microsoft\Internet Connection Wizard"
KEY_OLD_ICW = "SOFTWARE\Microsoft\ICW"
KEY_IEDIR = "SOFTWARE\Microsoft\IE4\Setup"
KEY_PROGRAM_FILES = "SOFTWARE\Microsoft\Windows\CurrentVersion"
VALUE_ICW_INSTALL = "InstallationDirectory"
Version = "1.10"
ICWNAME = "Internet Connection Wizard"
;==============================================================================================
; Localization Border
;
; No Strings above this line should be localized
; All strings below this line should be localized
;==============================================================================================
ProgramFiles = "Program Files"
IEDIR = "Internet Explorer"
OLD_ICWDIR = "ICW-Internet Connection Wizard"
MSICWDIR = "Connection Wizard"
ProgramFiles_SFN = "Progra~1" ; first 6 chars of Program Files, + "~1"
IEDIR_SFN = "Intern~1"
OLD_ICWDIR_SFN = "ICW-In~1"
ICWDIR_SFN = "Connec~1"
ProgramFiles_SFN_OEM = "Progra~1" ; first 6 chars of Program Files, + "~1" - in OEM codepage (not ANSI)
IEDIR_SFN_OEM = "Intern~1"
OLD_ICWDIR_SFN_OEM = "ICW-In~1" ; uses OEM codepage (not ANSI)
ICWDIR_SFN_OEM = "Connec~1" ; uses OEM codepage (not ANSI)
;Program Folder and item names
PGMGRP = "Internet Explorer"
PGMITEM_ICW = "Connection Wizard"
PGMDEL = "Accessories\Internet Tools"
ITEMDEL_INETWIZ = "Internet Setup Wizard"
ITEMDEL_GETON = "Get on the Internet"
;Prompt for Destination
INSTALL_DIR_PROMPT = "Please enter the directory in which to install the Internet Connection Wizard"
;Error Messages
ERROR_ENGINE_NOTFOUND = "Cannot find the requried setup engine. Aborting..."
ERROR_WRONG_ADVPACK_VERSION = "You need a newer version of Advpack.dll"
IE_REQUIRED = "You must have Internet Explorer v4.0 installed to run this package!"
;Friendly name of file type
INTERNET_COMMUNICATION_SETTINGS = "Internet Communication Settings"
LOCALE_ICW = "EN"